<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<title>后台管理系统登录中...</title> {''|getCommon} {'belatedPNG'|getPlugSingle}
{'easyui'|getPlugSingle} {'login/css/login.css'|getPageCss}
</head>
<body>
	{* '1111'|phpinfo *}
	<!-- phpinclude -->
	{* tsInclude('/manageModule/test/test/test'); *}
	<!--登录框架-->
	<div id="login">
		<div class="header">
			<div class="logo logo_bg"></div>
			<div class="nav">
				<div class="main">
					<div class="left nav_l_bg"></div>
					<div class="right nav_r_bg"></div>
					<div class="center"></div>
					<div class="pane">
						<!--<span>反馈意见</span>
                            <span>帮助中心</span>
                            <span class="last">930客服</span>
                            -->
					</div>
				</div>
			</div>
		</div>
		<div class="body">
			<div class="desc">
				<div class="content">
					<div class="icon desc_icon_bg"></div>
					<div class="statement">
						<div class="title">想用户之所想，做用户不能做</div>
						<div class="row">一直专注用户使用的每个细节</div>
						<div class="row">一直分析用户最迫切需要的一切</div>
						<div class="row">帮助他们实现需要而难以做到的</div>
						<div class="row">这就是我们这个强大的团队</div>
						<div class="row">永远把用户需求质量放在第一位</div>
						<div class="row last">欢迎您的使用!</div>
					</div>
				</div>
			</div>
			<div class="container">
				<div class="top login_top_bg"></div>
				<form action="" id="loginAction">
					<div class="middle login_middle_bg">
						<div class="title">登录营销管理系统</div>
						<div class="ins bnt_focus_bg">
							<input type="text" id="loginId" name="userLoginId" /> <label
								for="loginId">登录后台管理系统</label>
						</div>
						<div class="ins bnt_bg">
							<input type="password" name="userPwd" value="" id="password" /> <label
								for="password">请输入您的登录密码</label>
						</div>
						<div class="row">
							<input type="checkbox" class="checkbox" id="remember" /> <label
								for="remember">记住登录状态</label> <a href="javascript:addUser();">注册用户</a>
						</div>
						<div class="row login_bnt">
							<input type="button" value="登录" class="login_bnt_bg"
								id="loginHandle" />
						</div>
						<!--<div class="row last">
                        	还没有系统帐号？<a>立即申请</a>
                        </div>-->
					</div>
				</form>
				<div class="bottom login_bottom_bg"></div>
			</div>
		</div>
		
		<div class="footer"> 
			<div class="statement" style="text-align:center;line-height:30px;">
			<!--
				<div class="left nav_l_bg"></div>
				<div class="right nav_r_bg"></div>
				<div class="center">
					<span><a>关于雨霏</a></span> <span><a>About yufei</a></span> <span><a>服务条款</a></span>
					<span class="last"><a>客服中心</a></span>
				</div>
				-->©2016 - 2016 tianpeng Inc. All Rights
				Reserved
			</div>
			<div class="footer_link"></div> 
		</div>
		
	</div>
	{literal}
	<div id="addUser" class="easyui-dialog" title="添加新用户" closed="true"
		style="width: 400px; height: 350px; padding: 10px; visibility: hidden;"
		data-options="
				iconCls: 'icon-add',
				modal:true,
				buttons: [{
					text:'确认',
					iconCls:'icon-ok',
					handler:function(){
						$.messager.progress();
						$('#addUserForm').form('submit', {
							url : '/manage/register/register/registerGeneralUser',
							onSubmit : function() {
								var isValid = $(this).form('validate');//对数据进行格式化
								if (!isValid){
									$.messager.progress('close');	
								}
								return isValid;
							},
							success : function(data) {
								$.messager.progress('close');
								eval('var dataJson='+data);
								if(dataJson.result == 'success'){
									$('#addUser').dialog('close');
									$.messager.alert('注册成功','注册成功,激活后登陆系统');
								}else{
									$.messager.alert('错误',dataJson.result);
								}
							}
						});
					}
				},{
					text:'取消',
					handler:function(){
						$('#addUser').dialog('close');
					}
				}],
				onResize:function(){
					$(this).dialog('center');
				}
			">
		<form id="addUserForm" method="post" enctype="multipart/form-data">
			<table cellpadding="5">
				<tr>
					<td>登录名(可中文):</td>
					<td><input class="easyui-textbox" type="text"
						name="userLoginId" required="true" data-options="required:true,validType:{length:[2,16],isRepeatLoginId:''}"></input></td>
				</tr>
				<tr>
					<td>输入密码:</td>
					<td><input id="addPassword" class="easyui-textbox"
						type="password" name="userPwd"
						data-options="required:true,validType:'length[6,20]'"></input></td>
				</tr>
				<tr>
					<td>确认密码:</td>
					<td><input id="repassword" class="easyui-textbox"
						type="password" name="subject" data-options="required:true"
						validType="equalTo['#addPassword']" invalidMessage="两次输入密码不匹配"></input></td>
				</tr>
<!-- 				<tr> -->
<!-- 					<td>是否报单用户:</td> -->
<!-- 					<td><select class="easyui-combobox" panelHeight="auto" -->
<!-- 						name="userIsCenterUser" data-options="required:true"> -->
<!-- 							<option value="1">是</option> -->
<!-- 							<option value="2">否</option> -->
<!-- 					</select></td> -->
<!-- 				</tr> -->
				<tr>
					<td>姓名:</td>
					<td><input id="repassword" class="easyui-textbox" type="text"
						name="userRealName"
						data-options="required:true,validType:'length[1,16]'"></input></td>
				</tr>
				<tr>
					<td>性别:</td>
					<td><select class="easyui-combobox" panelHeight="auto"
						name="userSex" data-options="required:true">
							<option value="1">男</option>
							<option value="2">女</option>
							<option value="3">保密</option>
					</select></td>
				</tr>
				<tr>
					<td>手机号码:</td>
					<td><input class="easyui-textbox" type="text" name="userPhone" data-options="required:true,validType:'mobile'"></input></td>
				</tr>
				<tr>
					<td>推荐人登陆名:</td>
					<td><input class="easyui-textbox" type="text" name="userRecom1LoginId" data-options="required:true,validType:{length:[2,16],checkLoginIdIsExsitOrActive:''}"></input></td>
				</tr>
				<tr>
					<td>报单人登陆名:</td>
					<td><input class="easyui-textbox" type="text" name="userCenterLoginId" data-options="required:true,validType:{length:[2,16],isExistLoginId:''}"></input></td>
				</tr>
				<tr>
					<td>电话号码:</td>
					<td><input class="easyui-textbox" type="text" name="userTel" data-options="required:false,validType:'phone'"></input></td>
				</tr>
			</table>
		</form>
	</div>
	{/literal}
	{'login/login.js'|getPageJs}
</body>
</html>
